From 4d67f74884ccfa35a33a7701c46ce0f906f0e296 Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Mon, 4 Apr 2011 22:46:29 -0500 Subject: [PATCH] Look for NEWS in order to find etc/ rather than GNU. Emacs will now look for NEWS in order to find etc/ rather than GNU. Since Debian doesn't include GNU in the Debian packages (the common licenses are in /usr/share/common-licenses), Emacs will now look for NEWS to find the etc directory instead of GNU. Provided-by: Sven Joachim Originally-reported-by: Bernhard Michler Date: Mon, 28 Apr 2008 11:20:23 +0200 Added-by: Rob Browning Status: Debian specific --- src/callproc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/callproc.c b/src/callproc.c index 7ba3e398b41..0ba15d7fffc 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -1628,13 +1628,13 @@ init_callproc (void) srcdir = Fexpand_file_name (build_string ("../src/"), lispdir); - tem = Fexpand_file_name (build_string ("GNU"), Vdata_directory); + tem = Fexpand_file_name (build_string ("NEWS"), Vdata_directory); tem1 = Ffile_exists_p (tem); if (!NILP (Fequal (srcdir, Vinvocation_directory)) || NILP (tem1)) { Lisp_Object newdir; newdir = Fexpand_file_name (build_string ("../etc/"), lispdir); - tem = Fexpand_file_name (build_string ("GNU"), newdir); + tem = Fexpand_file_name (build_string ("NEWS"), newdir); tem1 = Ffile_exists_p (tem); if (!NILP (tem1)) Vdata_directory = newdir; -- 2.30.2